package syntaxtree;
import visitor.TranslateVisitor;
import visitor.Visitor;
import visitor.TypeVisitor;

/**
 * 
 * */
public class Assign extends Statement {
	
	/***/
	public Identifier i;
	/***/
	public Exp e;

	/**
	 * 
	 * */
	public Assign(Identifier ai, Exp ae) {
		i=ai;
		e=ae; 
	}

	/**
	 * 
	 * */
	public void accept(Visitor v) {
		v.visit(this);
	}

	/**
	 * 
	 * */
	public Type accept(TypeVisitor v) {
		return v.visit(this);
	}
  
	/**
	 * 
	 * */
	public translate.activationRegister.util.Exp accept(TranslateVisitor v){
		return v.visit(this);
	}
}

